package com.plant.consult.service;

import com.plant.common.domain.User;
import com.plant.common.result.Result;
import com.plant.consult.domain.Consult;
import com.plant.consult.domain.ConsultDetail;
import com.plant.consult.domain.ConsultRecord;
import com.plant.consult.domain.ConsultVo;

import java.util.List;

public interface ConsultService {

    Consult add(Consult consult);

    List<Consult> list();

    List<Consult> userIdList(Integer userId);

    void money(Consult consult);

    List<Consult> oneList(User user);

    ConsultVo ReplyList(ConsultDetail consultDetail);

    void update(Consult consult);
}
